package com.auxgroup.smarthome.inner.repo;

import com.auxgroup.smarthome.inner.entity.RegionDatabaseEntity;
import com.auxgroup.smarthome.repo.GenericDao;
import java.util.List;

/**
 * Created by Toby Lai on 2017/7/12.
 */
public interface RegionDatabaseRepo extends GenericDao<RegionDatabaseEntity, String> {
    /**
     * 根据级别节点获取省市区：0代表国家，1代表省份，2代表城市，3代表区
     * @param levelType
     * @return
     */
    List<RegionDatabaseEntity> findByLevelType(Integer levelType);
}
